package leetcode.math.common.strategy;

import java.util.Arrays;
import java.util.List;

public enum EnumOperate {
    ADD(1, "加法"),
    SUBTRACT(2, "减法"),
    MULTIPLY(3, "乘法"),
    DIVIDE(4, "除法");

    private int functionId;
    private String message;

    EnumOperate(int functionId, String message) {
        this.functionId = functionId;
        this.message = message;
    }

    public static List<EnumOperate> getAllEnumOperate() {
        return Arrays.asList(EnumOperate.values());
    }

    public int getFunctionId() {
        return functionId;
    }

    public void setFunctionId(int functionId) {
        this.functionId = functionId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
